package com.carpedil.client.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

/** @author Administrator */
// @FeignClient(name = "FeiginClientService", url = "http://localhost:6001/")
@FeignClient("clientServer")
public interface FeiginClientService {
  @GetMapping("/client/update_status/{orderId}/{code}")
  @ResponseBody
  public Integer updateOrderStatus(
      @PathVariable("orderId") String orderId, @PathVariable("code") Integer code);
}
